import javax.swing.plaf.synth.SynthOptionPaneUI;
import java.sql.SQLOutput;
import java.util.ArrayList;
import java.util.Objects;

public class ArrayListDemo {
    public static void main(String[] args){
        ArrayList<String> array = new ArrayList<String>();
        array.add("hello");
        array.add("world");
        array.add("java");
        public boolean remove(Object o);
        System.out.println("array.remove");
        System.out.println("array.javaee");
        public E remove(int index);
        System.out.println(array.remove(1));
        System.out.println(array.remove(3));
        System.out.println(array.size());
        System.out.println("array:"+array);
    }
}
